/**
 * ��������
 * @param title
 * @param url
 * @param w
 * @param h
 */
function showIframe(title, url, w, h) {
    w = w ? w + "px" : '';
    h = h ? h + "px" : '';
    var index = layer.open({
        type: 2,
        title: title,
        skin: 'layui-layer-rim', //加上边框
        content: url,
        area: [w, h],
        scrollbar: false
    });
    if ((!w || w == '') && (!h || h == '')) {
        layer.full(index);
    }
}
$("#close_img").click(function(){
    parent.layer.closeAll();
});
